package factory.impl;

import factory.StoreFactory;
import demo1.model.AmericanCoffee;
import demo1.model.abstractClass.Coffee;
import demo1.model.abstractClass.Dessert;
import demo1.model.MatchaMousse;

//生产美食产品的工厂 美式咖啡和抹茶蛋糕
public class AmericanStoreFactory implements StoreFactory {
    @Override
    public Coffee createCoffee() {
        return new AmericanCoffee();
    }

    @Override
    public Dessert createDesert() {
        return new MatchaMousse();
    }
}
